#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx lint-staged

npx eslint --fix

# BRANCH=$(git branch --show-current)

# if [[ "$BRANCH" != "main" && "$BRANCH" != "develop" && "$BRANCH" != "release" ]]; then
#   CHANGES=$(ls .changeset/*.md 2>/dev/null | wc -l)

#   if [ "$CHANGES" -eq "0" ]; then
#     echo "Error: No Changeset found. Run 'pnpm run changeset or npx changeset' to add one." >&2
#     exit 1
#   fi
# fi
